﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp21
{
    class Program
    {
        static void Main(string[] args)
        {
            Queue queue = new Queue();
            queue.Enqueue("hvfgh");
            queue.Enqueue("jitr");
            queue.Enqueue("jibvc");
            object[] obj = queue.ToArray();
            foreach (var a in obj )
           {
                Console.WriteLine(a);
            }
        }
    }

   
    
}
